#include"CRectangle.h"
#include<conio.h>
int main(){
	CRectangle *rectb;
	CRectangle *rectc=new CRectangle();
	rectc->setValues(8,9);
	rectb=rectc;
	cout<<"area:"<<rectb->area()<<endl;
	cout<<"area:"<<rectc->area();
	_getch();
	return 0;
}